import type { SearchAllData } from "@/types/search"
import { http } from "@/utils/http"

// 商品搜索-带筛选条件接口
export const postSearchAllAPI = (goods: string) => {
    return http<SearchAllData>({
        method: 'POST',
        url: `/search/all/${goods}`,
    })
}